package com.lh.service;

import com.lh.entity.dto.JyQueryDto;
import com.lh.entity.table.DsmsUser;
import com.lh.utils.Answer;

import java.util.List;

public interface DsmsUserService {
    DsmsUser login(String username, String password);

    Answer<Object> addUser(DsmsUser dsmsUser);

    Answer<Object> editUser(DsmsUser dsmsUser);

    Answer<Object> deleteUser(DsmsUser dsmsUser);

    Answer<Object> queryList(JyQueryDto jyQueryDto);

    List<DsmsUser> queryUserByName(String userName);
    List<DsmsUser> queryUserByDepartment(String department);
}
